package com.entity.enums;

/***
 * 类描述: 服务项目类型枚举
 *
 * @author jack
 * @date 16/03/2017
 */
public enum IndustryTypeEnum {
    //类型 0美发 1spa 2美容美甲 3美甲
    MEI_FA(0),
    SPA(1),
    MEI_RONG_MEI_JIA(2),
    MEI_JIA(3),
    XIAN_DAN_CHAO_REN(4),
    FA_PIN_SHANG(5);

    int value;

    IndustryTypeEnum(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public static String getDesp(int value) {
        switch (value) {
            case 0:
                return "美发";
            case 1:
                return "spa";
            case 2:
                return "美容美甲";
            case 3:
                return "美甲";
            case 4:
                return "闲单潮人";
            case 5:
                return "发品商";
            default:
                return "";
        }
    }
}
